﻿using System;
using System.Collections.Generic;
using CityLife.CityService;
 
 

 



public class ApplicationState
{
    private static ApplicationState _currentInstance;

    private FacebookSession _facebookSession;

    private ApplicationState() { }

    public static ApplicationState Current
    {
        get
        {
            if (_currentInstance == null)
            {
                _currentInstance = new ApplicationState();
            }

            return _currentInstance;
        }
    }


    public FacebookSession CurrentFacebookSession
    {
        get
        {
            if (_facebookSession == null)
                _facebookSession = new FacebookSession();

            return _facebookSession;
        }
    }

}

